    ##########################################################################
    ﻿
    This replication archive contains all data and scripts to replicate the analyses in
    ﻿
    Rudolph, L., Haggerty, F., & Thurner, P.
    Western publics show strong, yet constrained support for Ukraine's defense against autocratic aggression
    ﻿
    Nature Communications
    ﻿
    ##########################################################################
    ﻿
    2025-11-18
    ﻿
    ##########################################################################
    ﻿
    For the do-file and R-scripts to work directly, we suggest setting up the following structure of files and folders:
    ﻿
    1. Save all files of this archive in a working directory
    2. Create subfolder "tables" 
    3. Create subfolder "figures"
    ﻿
    ###########################################################################
    ﻿
    This replication archive contains the following files:
    ﻿
    - readme.txt -- this file 
  
    - ukr_master_and_vignette_replication_data.dta -- Stata19 dataset. Original survey data gathered by a larger project, reduced to variables relevant for the article. This dataset is to be used to replicate the vignette experimental and descriptive/regression analysis in the article. The survey instrument is available with the pre-registration at doi:10.17605/OSF.IO/TVZSA
    ﻿  ﻿
    - ukr_conjoint_replication_data.dta -- Stata19 dataset. Reshaped (long form) and recoded version of "ukr_master_and_vignette_replication_data.dta" for conjoint experimental analysis in the article. Data is in long form with 2 profiles * 4 rounds per respondent. 
    ﻿
    - conjoint_replication.do -- Stata19 do-File to generate Figs. 2, 3, 4; Supplementary Figs. 4, 5, 7, 11, 12, 13, 14; Supplementary Tables 7-13
    ﻿
    - vignette_replication.do -- Stata19 do-File to generate Figs. 6, 7, 8; Supplementary Figs. 6, 8, 9, 10; Supplementary Table 4, 14-17
  ﻿
    - conjoint_replication_robustness.R -- R-file with supplementary material tests to generate Supplementary Figures 15, 16, 17 and Supplementary Tables 5, 6, 18, 19
 
    - ukr_data_preparation.do -- Stata19 do-File with code to reshape master data to conjoint data in long form, and to generate indizes and indicators as used in analyses (this does not need to run for the conjoint_replication.do and vignette_replication.do files to work). 
     ﻿
    ###########################################################################

    For Stata 19, we use the following package-configuration: 
	[1] package gr0073 from http://www.stata-journal.com/software/sj18-3
	      SJ18-3 gr0073. Customizing Stata graphs made easy...
	[2] package palettes from http://fmwww.bc.edu/repec/bocode/p
	      'PALETTES': module to provide color palettes, symbol palettes, and line pattern palettes
	[3] package colrspace from http://fmwww.bc.edu/repec/bocode/c
	      'COLRSPACE': module providing a class-based color management system in Mata
	[4] package gr0059_1 from http://www.stata-journal.com/software/sj15-1
	      SJ15-1 gr0059_1. Update: Plotting regression...
	[5] package st0085_2 from http://www.stata-journal.com/software/sj14-2
	      SJ14-2 st0085_2. Update: Making regression...

    For R, see Supplementary Information of the article, section 3.6 of Supplementary Results for the exact configuration. 
    ﻿
    ﻿
    ﻿
    ﻿

